<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="Access-Control-Allow-Origin" content="*"> 
    <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
    <link rel="stylesheet" href="static/css/icon.css" />
    <title>智能问诊</title>    
  </head>
  <body>
    <div id="app"></div>
  </body>
</html>
<script>
	let _search =window.location.href,
		arr = _search.match("=(.)*#");
	if(arr){
		var idx1 = arr[0].indexOf('=');
		var idx2 = arr[0].indexOf('#');
		var token = arr[0].substring(idx1+1, idx2);
		console.log(token);
	}
	 
	 if(token&& token!==''){
	 	localStorage.setItem('token',token)
	 }		 
</script>

